﻿using AutoMapper;
using TestWebApp.DataAccess.Models;
using TestWebApp.Models;

namespace TestWebApp.Mappings.Profiles
{
    public class MapperEmployeeProfile : Profile
    {
        protected override void Configure()
        {
            Mapper.CreateMap<Employee, EmployeeModel>();
            Mapper.CreateMap<EmployeeModel, Employee>();
        }
    }
}